/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/10/13 17:01
 * @Copyright
 */
package Reflect;

public class Employee {
    private String name;

    public Employee(String name) {
        this.name = name;
    }

    public Employee(){
        System.out.println("无参的构造方法");
    }

    //实例方法
    public void work(){
        System.out.println(name+"工作");
    }
}
